//MFHook.h
#include <mfidl.h>

#pragma once

typedef HRESULT (WINAPI *PMFCreateMediaSession)(IMFAttributes* pConfiguration, IMFMediaSession** ppMediaSession);
typedef HRESULT (WINAPI *PMFCreatePMPMediaSession)(DWORD dwCreationFlags, IMFAttributes *pConfiguration, IMFMediaSession** ppMediaSession, IMFActivate **ppEnablerActivate);

HRESULT WINAPI MFCreateMediaSessionHook(IMFAttributes* pConfiguration, IMFMediaSession** ppMediaSession);
HRESULT WINAPI MFCreatePMPMediaSessionHook(DWORD dwCreationFlags, IMFAttributes *pConfiguration, IMFMediaSession** ppMediaSession, IMFActivate **ppEnablerActivate);
